home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PROGRAMR
/
VLIB200.ZIP
/
VLIBDEMO.RC
< prev
Wrap
Text File
|
1993-10-15
|
8KB
|
247 lines
#include "windows.h"
#include "vlibdemo.h"
#include "menu.h"
VL_LOGO ICON visualib.ico
VlibDemo MENU
BEGIN
POPUP "&Demo"
BEGIN
MENUITEM "NURBS Curves", IDM_DEMO_NURBSCURVE
MENUITEM "Image Mapping", IDM_DEMO_IMAGEMAPPING
MENUITEM "Depth Clipping" IDM_DEMO_DEPTHCLIPPING
MENUITEM "Spot Lights", IDM_DEMO_SPOTLIGHT
MENUITEM "Material Property", IDM_DEMO_MATERIALPROPERTY
MENUITEM "Marble Ring", IDM_DEMO_MARBLERING
MENUITEM "Wood Surface", IDM_DEMO_WOODSURFACE
MENUITEM "Granite Cube", IDM_DEMO_GRANITECUBE
MENUItEM "Stereo Text", IDM_DEMO_STEREOTEXT
MENUITEM "3D Composite", IDM_DEMO_3DCOMPOSITE
MENUITEM "2D Composite", IDM_DEMO_2DCOMPOSITE
MENUITEM SEPARATOR
POPUP "Picture"
BEGIN
MENUITEM "Save Picture", IDM_DEMO_SAVEPICTURE
MENUITEM "Print Picture", IDM_DEMO_PRINTPICTURE
MENUITEM "With Frame", IDM_DEMO_WITHFRAME
END
MENUITEM "Draw To Printer", IDM_DEMO_PRINTFLAG
MENUITEM SEPARATOR
MENUITEM "Exit", IDM_DEMO_EXIT
END
POPUP "A&nimation"
BEGIN
MENUITEM "2D Objects", IDM_ANIMATE_OBJECT2D
MENUITEM "Viewer Motion", IDM_ANIMATE_VIEWER3D
MENUITEM "Viewer Zoom", IDM_ANIMATE_ZOOM3D
MENUITEM "Surface Rotation", IDM_ANIMATE_SURFACE
MENUITEM "Spring Rotation", IDM_ANIMATE_SPRING
MENUITEM "Moving Dodecahedron", IDM_ANIMATE_DODECAHEDRON
MENUITEM "Moving Icosahedron", IDM_ANIMATE_ICOSAHEDRON
MENUITEM "Moving Star", IDM_ANIMATE_STAR3D
MENUITEM "Moving Frame", IDM_ANIMATE_FRAME
END
POPUP "&Primitive"
BEGIN
POPUP "2D Object"
BEGIN
POPUP "Basic"
BEGIN
MENUITEM "Line", IDM_2DPRIME_LINE
MENUITEM "Polyline", IDM_2DPRIME_POLYLINE
MENUITEM "Mark", IDM_2DPRIME_MARK
MENUITEM "Label", IDM_2DPRIME_LABEL
MENUITEM "Pointer", IDM_2DPRIME_POINTER
// MENUITEM "Arrow", IDM_2DPRIME_ARROW
MENUITEM "Net", IDM_2DPRIME_NET
END
POPUP "Curve"
BEGIN
MENUITEM "Bezier", IDM_2DCURVE_BEZIER
MENUITEM "Hermit", IDM_2DCURVE_HERMIT
MENUITEM "B-Spline", IDM_2DCURVE_BSPLINE
MENUITEM "NURBS Knots", IDM_2DCURVE_NURBSKNOTS
MENUITEM "NURBS", IDM_2DCURVE_NURBS
MENUITEM "Catmullrom", IDM_2DCURVE_CATMULLROM
MENUITEM "Quadratic Curve",IDM_2DCURVE_QBEZIER
MENUITEM SEPARATOR
MENUITEM "Spiral", IDM_2DCURVE_SPIRAL
/*
MENUITEM "Parabola", IDM_2DCURVE_PARABOLA
MENUITEM "Hyperbola", IDM_2DCURVE_HYPERBOLA
MENUITEM "OscilWave", IDM_2DCURVE_OSCILWAVE
MENUITEM "Catenary", IDM_2DCURVE_CATENARY
*/
END
POPUP "Shape"
BEGIN
MENUITEM "Box", IDM_2DSHAPE_BOX
MENUITEM "Disk", IDM_2DSHAPE_DISK
MENUITEM "Ngon", IDM_2DSHAPE_NGON
MENUITEM "Wedge", IDM_2DSHAPE_WEDGE
MENUITEM "Bow", IDM_2DSHAPE_BOW
MENUITEM "Star", IDM_2DSHAPE_STAR
MENUITEM "Flower", IDM_2DSHAPE_FLOWER
MENUITEM "Rose", IDM_2DSHAPE_ROSE
MENUITEM "Ring", IDM_2DSHAPE_RING
/*
MENUITEM "Cycloid", IDM_2DSHAPE_CYCLOID
MENUITEM "Epicycloid", IDM_2DSHAPE_EPICYCLOID
MENUITEM "Cardioid", IDM_2DSHAPE_CARDIOID
MENUITEM "Hypocycloid", IDM_2DSHAPE_HYPOCYCLOID
*/
END
END
POPUP "3D Object"
BEGIN
POPUP "Basic"
BEGIN
MENUITEM "Line", IDM_3DPRIME_LINE
MENUITEM "Polyline", IDM_3DPRIME_POLYLINE
MENUITEM "Mark", IDM_3DPRIME_MARK
MENUITEM "Label", IDM_3DPRIME_LABEL
MENUITEM "Pointer", IDM_3DPRIME_POINTER
// MENUITEM "Arrow", IDM_3DPRIME_ARROW
MENUITEM "Net", IDM_3DPRIME_NET
END
POPUP "Curve"
BEGIN
MENUITEM "Bezier", IDM_3DCURVE_BEZIER
MENUITEM "Hermit", IDM_3DCURVE_HERMIT
MENUITEM "BSpline", IDM_3DCURVE_BSPLINE
MENUITEM "NURBS", IDM_3DCURVE_NURBS
MENUITEM "CatmullRom", IDM_3DCURVE_CATMULLROM
MENUITEM "Quadratic Curve", IDM_3DCURVE_QBEZIER
MENUITEM SEPARATOR
MENUITEM "Spring", IDM_3DCURVE_SPRING
MENUITEM "Spiral", IDM_3DCURVE_SPIRAL
END
POPUP "Shape"
BEGIN
MENUITEM "Box", IDM_3DSHAPE_BOX
MENUITEM "Disk", IDM_3DSHAPE_DISK
MENUITEM "Ngon", IDM_3DSHAPE_NGON
MENUITEM "Wedge", IDM_3DSHAPE_WEDGE
MENUITEM "Bow", IDM_3DSHAPE_BOW
MENUITEM "Star", IDM_3DSHAPE_STAR
MENUITEM "Flower", IDM_3DSHAPE_FLOWER
MENUITEM "Ring", IDM_3DSHAPE_RING
MENUITEM "Rose", IDM_3DSHAPE_ROSE
END
END
POPUP "Surface Object"
BEGIN
MENUITEM "Bezier Surface", IDM_SURFACE_BEZIER
MENUITEM "Hermit Surface", IDM_SURFACE_HERMIT
MENUITEM "B-Spline Surface", IDM_SURFACE_BSPLINE
MENUITEM "NURBS Surface", IDM_SURFACE_NURBS
MENUITEM "Coons Patch", IDM_SURFACE_COONSPATCH
/*
MENUITEM SEPARATOR
MENUITEM "Ellipsoid", IDM_3DSHAPE_ELLIPSOID
MENUITEM "Elliptic Parab", IDM_3DSHAPE_ELLIPTICPARAB
MENUITEM "Hyperboloid 1", IDM_3DSHAPE_HYPERBOLOID1
MENUITEM "Hyperboloid 2", IDM_3DSHAPE_HYPERBOLOID2
MENUITEM "Hyperbolic Parab", IDM_3DSHAPE_HYPERBOLICPARAB
*/
END
POPUP "Solid Object"
BEGIN
MENUITEM "Torus", IDM_SOLID_TORUS
MENUITEM "Sphere", IDM_SOLID_SPHERE
MENUITEM "Ellipsoid", IDM_SOLID_ELLIPSOID
MENUITEM "Cylinder", IDM_SOLID_CYLINDER
MENUITEM "Cone", IDM_SOLID_CONE
MENUITEM "Box", IDM_SOLID_BOX
MENUITEM "Tube", IDM_SOLID_TUBE
MENUITEM "Tetrahedron", IDM_SOLID_TETRAHEDRON
MENUITEM "Octahedron", IDM_SOLID_OCTAHEDRON
MENUITEM "Dodecahedron", IDM_SOLID_DODECAHEDRON
MENUITEM "Icosahedron", IDM_SOLID_ICOSAHEDRON
MENUITEM "Frustum", IDM_SOLID_FRUSTUM
MENUITEM "Ridge", IDM_SOLID_RIDGE
MENUITEM "Star", IDM_SOLID_STAR
MENUITEM "Flower", IDM_SOLID_FLOWER
END
POPUP "String Object"
BEGIN
MENUITEM "Solid Text", IDM_TEXT_SOLID
MENUITEM "3D Text", IDM_TEXT_3D
MENUITEM "2D Text", IDM_TEXT_2D
MENUITEM SEPARATOR
MENUITEM "Select Font", IDM_TEXT_SELECTFONT
END
END
POPUP "Transform"
BEGIN
POPUP "2D Transf"
BEGIN
MENUITEM "Translate" IDM_2DTRANSF_TRANSLATE
MENUITEM "Point Scale", IDM_2DTRANSF_POINTSCALE
MENUITEM "Point Rotate", IDM_2DTRANSF_POINTROTATE
MENUITEM "Shear", IDM_2DTRANSF_SHEAR
MENUITEM "Stretch", IDM_2DTRANSF_STRETCH
MENUITEM "Mirror", IDM_2DTRANSF_MIRROR
END
POPUP "3D Transf"
BEGIN
MENUITEM "Point Scale", IDM_3DTRANSF_POINTSCALE
MENUITEM "Axle Rotate", IDM_3DTRANSF_AXLEROTATE
MENUITEM "Stretch", IDM_3DTRANSF_STRETCH
MENUITEM "Shear", IDM_3DTRANSF_SHEAR
MENUITEM "Mirror", IDM_3DTRANSF_MIRROR
END
POPUP "Object Array"
BEGIN
MENUITEM "Rectangular 3D", IDM_3DARRAY_RECTANGLE
MENUITEM "Polar 3D", IDM_3DARRAY_POLAR
MENUITEM "Cubic", IDM_3DARRAY_CUBIC
MENUITEM "Cylindric", IDM_3DARRAY_CYLINDRIC
MENUITEM "Spheric", IDM_3DARRAY_SPHERIC
MENUITEM SEPARATOR
MENUITEM "Rectangular 2D", IDM_2DARRAY_RECTANGLE
MENUITEM "Polar 2D", IDM_2DARRAY_POLAR
END
END
POPUP "&Option"
BEGIN
MENUITEM "Background Color", IDM_OPTION_BACKCOLOR
MENUITEM "Repaint Window", IDM_OPTION_REDRAW
MENUITEM "Shding Method", IDM_OPTION_SHADEMODE
MENUITEM "Shading Preview", IDM_OPTION_PREVIEW
POPUP "&Light Setting"
BEGIN
MENUITEM "Select Light &1", IDM_SELECT_L1
MENUITEM "Select Light &2", IDM_SELECT_L2
MENUITEM "Select Light &3", IDM_SELECT_L3
MENUITEM "Select Light &4", IDM_SELECT_L4
MENUITEM SEPARATOR
MENUITEM "&Global Ambient", IDM_GLOBAL_AMBIENT
END
POPUP "&Material Setting"
BEGIN
MENUITEM "Select Material &1", IDM_SELECT_M1
MENUITEM "Select Material &2", IDM_SELECT_M2
MENUITEM "Select Material &3", IDM_SELECT_M3
MENUITEM "Select Material &4", IDM_SELECT_M4
END
MENUITEM "&Solid Texture", IDM_OPTION_TEXTURE
END
POPUP "&Help"
BEGIN
MENUITEM "Demo Help", IDM_HELP_DEMOPROG
MENUITEM "Visualib Help", IDM_HELP_VISUALIB
MENUITEM "About VisualLib", IDM_HELP_ABOUT
MENUITEM "License Info", IDM_HELP_LICENSE
END
END
RCINCLUDE dialogs.h
RCINCLUDE dialogs.dlg
STRINGTABLE
BEGIN
1, "Visual Technologe International, Co."
END